package com.nbufe.domain.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 碳排放报告(Reports)表实体类
 *
 * @author luzhiheng
 * @since 2024-01-05 16:08:36
 */
@SuppressWarnings("serial")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("reports")
public class Reports {
    @TableId
    private Long id;

    //组织ID
    private String organizationId;
    //报告类型
    private Integer reportType;
    //报告标题
    private String reportTitle;
    //报告内容
    private String reportContent;
    //报告代码
    private String reportCode;

    //报告数据-开始日期
    @JsonFormat(pattern = "yyyy-MM", timezone = "GMT+8")
    private String startDate;

    //报告数据-结束日期
    @JsonFormat(pattern = "yyyy-MM", timezone = "GMT+8")
    private String endDate;
    //租户id
    private Long tenantId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    
    private Date updateTime;
    
    private String createName;
    
    private String updateName;

    @TableLogic
    private Integer delFlag;

}
